package com.example.socialcontactapp.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Author: ruohao
 * @Date: 2022/8/2
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Chat {
    private static final long serialVersionUID = -81105534953728147L;

    private Integer id;

    private Long sender;

    private Long receiver;

    private Long timestamp;

    private String content;
}
